from django.template import library

register = library.Library()

@register.filter
def set_remote(value):
    value = value.replace("b'", "").replace("'", "")
    return value